package com.jmm.api.pojo.domain.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * @author Yeoh
 */
@TableName("api_oauth")
@Data
public class ApiOauthDO extends Model<ApiOauthDO> implements Serializable{
    @TableField(exist = false)
    private static final long serialVersionUID = -1787160019421698969L;
    @TableId(type = IdType.INPUT)
    private String id;
    private String userId;
    private String oauthId;
    private String oauthAccessToken;
    private Integer oauthType;
}
